@include('admin.public.head')
@include('admin.public.pop')

<style type="text/css">

    .inner_btn {
        background: #19a97b;
        color: white;
        padding: 5px 8px;
        border-radius: 2px;
    }
</style>

<div class="ibox-title">
    <h5>签到管理</h5>
</div>

<div class="ibox-title">
    <p>
        教室：{{$class_base_info['classsroom']['numbering']}}</br>
        教師：{{$class_base_info['teacher']['teacher_name']}}</br>
        課程：{{$class_base_info['class_base']['class_name']}}</br>
        時段：{{$class_base_info['class_time']['time_start']}}~{{$class_base_info['class_time']['time_end']}}</br>
    </p>
</div>

<div class="ibox-content">
    <img src="{{$liantu_ar}}" width="250px" height="250px">
    <div class="row">
        <div class="col-sm-7 pull-right m-b-xs">
            <form action="">
                <div class="col-sm-3  m-b-xs text-center pull-right">
                    <button type="submit" class="btn btn-sm btn-primary">搜索</button> </span>
                    &nbsp;&nbsp;<a href="javascript:void(0)"  class="btn btn-primary right_content reloade">刷新页面</a>
{{--                    &nbsp;&nbsp;<a href="javascript:void(0)"  class="btn btn-primary right_content sign_lists" url="/class_sign_lists/{{$id}}/{{$time}}" onclick="toggle($(this), '100%', '100%',  '签到')">签到</a>--}}
                </div>

                <div class="col-sm-2 text-center pull-right">
                    <input type="text" name="sear_value" value="{{$sear_value}}" placeholder="昵稱/用戶id" class="input form-control">
                </div>

            </form>
        </div>
    </div>
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>用戶id</th>
            <th>用戶頭像</th>
            <th>用戶昵稱</th>
{{--            <th>手機號</th>--}}
            <th>訓練時長(分鐘)</th>
{{--            <th>積分</th>--}}
            {{--            <th>編輯</th>--}}
        </tr>
        </thead>
        <tbody>
        @foreach ($user_lists as $k=>$v)
            <tr>
                <td>
                    {{$v->user_number??''}}
                </td>
                <td>
                    <img src="{{$v->head_img}}" width="300" height="150">
                </td>
                <td>
                    {{$v->nickname??''}}
                </td>
{{--                <td>{{$v->phone}}</td>--}}
                <td>{{$v->total_train_time??''}}</td>
{{--                <td>{{$v->total_integral??''}}</td>--}}
            </tr>
        @endforeach
        </tbody>
    </table>
</div>
<script>
    $(".reloade").click(function(){
        location.reload()
    });
</script>

